#pragma once

class Genome
{
	private:
		double *_genes;
        int _length;
        double _mutationRate;

		void CreateGenes();

	public:
		double Fitness;

		Genome(int l, bool init, double mutRate);
		~Genome(void);

		void Crossover(Genome *parent2, Genome *child1, Genome *child2);
		void Mutate(int t, int maxtT);
		double Delta(int t, int maxT, double y);
};

